package com.micro.modual.mapper;


import com.micro.core.frame.mapper.BasicsMapper;
import com.micro.modual.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
*  <h1></h1>
 * @author levelcoder
 * @version V1.0.0
 * @email LevelCoder@126.com
 * @date 2020-08-04 00:11:09
 */
public interface UserMapper extends BasicsMapper<User>{


    /**
     * 查询用户列表(会员)
     * @param map
     * @return
     */
    List<User> findMemberList(Map<String, Object> map);

    User findMemberDetail(@Param("userCode") String userCode);

    /**
     * <h2>根据用户编号查询用户信息</h2>
     * @param userCode  用户编号
     * @return {@link User} 用户表
     */
    User findUserInfoByUserCode(@Param("userCode") String userCode);
}
